<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <h2>单选</h2>
        <input type="radio" v-model="abb" name="abb" value="男">男
        <input type="radio" v-model="abb" name="abb" value="女">女
        <input type="radio" v-model="abb" name="abb" value="保密">保密
        你的兴趣爱好：
        <input type="checkbox" v-model ="habby" value="打球"><label for="">打球</label>
        <input type="checkbox" v-model="habby" value="上网"><label for="">上网</label>
        <input type="checkbox" v-model="habby" value="游泳"><label for="">游泳</label>
    </div>
    <script src="../js/vue.js"></script>
    <script src="">
        const app = new Vue({
            el:"#app",
            data:{
                abb:"男",
                habby:["游泳"]
            }
        })
    </script>
</body>
</html>